Platform Explorer / Nuxeo Platform 2023.22

Extension point actions

Documentation

Allows to define the bulk actions.

A bulk action is a stream processing composed of one or more computations.

A bulk action can be made available through http APIs, default is false.

The bucket size determines the number of document ids per record at the scroller level, default is 100.

The batch size determines the number of document ids handled per transactions at the computation level, default is 25.

    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" name="internalAction"/>
        <action batchSize="25" bucketSize="100" httpEnabled="true" name="publicAction"/>
    </extension>

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.bulk.BulkActionDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-coldstorage-2023.3.6.jar /OSGI-INF/coldstorage-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="20" bucketSize="100" httpEnabled="true" inputStream="bulk/moveToColdStorage" name="moveToColdStorage"/>
        <action batchSize="20" bucketSize="100" httpEnabled="false" inputStream="bulk/propagateMoveToColdStorage" name="propagateMoveToColdStorage"/>
        <action batchSize="20" bucketSize="100" httpEnabled="false" inputStream="bulk/propagateRestoreFromColdStorage" name="propagateRestoreFromColdStorage"/>
        <action batchSize="20" bucketSize="100" httpEnabled="false" inputStream="bulk/checkColdStorageAvailability" name="checkColdStorageAvailability"/>
      </extension>
  • nuxeo-core-2023.22.13.jar /OSGI-INF/retention-and-hold-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- NOT httpEnabled -->
        <action batchSize="25" bucketSize="100" inputStream="retention/retentionExpired" name="retentionExpired"/>
      </extension>
  • nuxeo-core-2023.22.13.jar /OSGI-INF/bulk-migration-action-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" inputStream="bulk/migration" name="migration"/>
      </extension>
  • nuxeo-core-2023.22.13.jar /OSGI-INF/deletion-action-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" inputStream="bulk/deletion" name="deletion"/>
        <action batchSize="50" bucketSize="500" inputStream="bulk/garbageCollectOrphanBlobs" name="garbageCollectOrphanBlobs" sequentialScroll="true" validationClass="org.nuxeo.ecm.core.action.validation.GarbageCollectOrphanBlobsValidation"/>
      </extension>
  • nuxeo-core-2023.22.13.jar /OSGI-INF/orphanVersionsCleanup-listener-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" inputStream="bulk/garbageCollectOrphanVersions" name="garbageCollectOrphanVersions"/>
      </extension>
  • nuxeo-drive-core-2023.22.13.jar /OSGI-INF/nuxeodrive-bulk-action-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="100" httpEnabled="false" inputStream="bulk/driveFireGroupUpdatedEvent" name="driveFireGroupUpdatedEvent"/>
      </extension>
  • nuxeo-platform-csv-export-2023.22.13.jar /OSGI-INF/csv-export-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="50" bucketSize="100" defaultQueryLimit="100000" defaultScroller="elastic" httpEnabled="true" inputStream="bulk/csvExport" name="csvExport" validationClass="org.nuxeo.ecm.platform.csv.export.validation.CSVExportValidation"/>
      </extension>
  • nuxeo-platform-imaging-core-2023.22.13.jar /OSGI-INF/imaging-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="1" bucketSize="10" httpEnabled="false" inputStream="bulk/recomputeViews" name="recomputeViews" validationClass="org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsActionValidation"/>
        <action batchSize="1" bucketSize="10" enabled="false" httpEnabled="false" inputStream="bulk/recomputeViewsBackground" name="recomputeViewsBackground" validationClass="org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsActionValidation"/>
      </extension>
  • nuxeo-platform-video-2023.22.13.jar /OSGI-INF/video-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="1" bucketSize="2" inputStream="bulk/recomputeVideoConversion" name="recomputeVideoConversion" validationClass="org.nuxeo.ecm.platform.video.action.RecomputeVideoConversionsActionValidation"/>
      </extension>
  • nuxeo-retention-2023.4.11.jar /OSGI-INF/retention-actions.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="20" bucketSize="100" inputStream="retention/holdDocumentsAction" name="holdDocumentsAction"/>
        <action batchSize="20" bucketSize="100" inputStream="retention/unholdDocumentsAction" name="unholdDocumentsAction"/>
        <action batchSize="20" bucketSize="100" inputStream="retention/attachRetentionRule" name="attachRetentionRule"/>
        <action batchSize="20" bucketSize="100" inputStream="retention/evalInputEventBasedRule" name="evalInputEventBasedRule"/>
      </extension>
  • nuxeo-routing-core-2023.22.13.jar /OSGI-INF/document-routing-escalation-scheduler-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="5" bucketSize="25" exclusive="true" inputStream="bulk/documentRoutingEscalation" name="documentRoutingEscalation"/>
      </extension>
  • nuxeo-routing-core-2023.22.13.jar /OSGI-INF/document-routing-cleanup-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" inputStream="bulk/garbageCollectWokflows" name="garbageCollectWokflows"/>
      </extension>
  • nuxeo-core-bulk-2023.22.13.jar /OSGI-INF/bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- Internal -->
        <action batchSize="25" bucketSize="100" inputStream="bulk/trash" name="trash" sequentialScroll="true"/>
        <action batchSize="25" bucketSize="100" inputStream="bulk/removeProxy" name="removeProxy"/>
        <action batchSize="25" bucketSize="100" inputStream="bulk/setSystemProperties" name="setSystemProperties"/>
        <!-- Exposed through REST API -->
        <action batchSize="25" bucketSize="100" httpEnabled="true" inputStream="bulk/setProperties" name="setProperties" validationClass="org.nuxeo.ecm.core.bulk.validation.SetPropertiesValidation"/>
      </extension>
  • nuxeo-automation-features-2023.22.13.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="5" bucketSize="25" httpEnabled="true" inputStream="bulk/automation" name="automation" validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"/>
    
        <action batchSize="5" bucketSize="25" defaultScroller="elastic" httpEnabled="true" inputStream="bulk/automationUi" name="automationUi" validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"/>
      </extension>
  • nuxeo-core-storage-2023.22.13.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="10" bucketSize="50" httpEnabled="false" inputStream="bulk/extractBinaryFulltext" name="extractBinaryFulltext"/>
      </extension>
  • nuxeo-elasticsearch-core-2023.22.13.jar /OSGI-INF/bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="1000" enabled="true" inputStream="bulk/index" name="index"/>
      </extension>
  • nuxeo-core-binarymanager-s3-2023.22.13.jar /OSGI-INF/bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="25" bucketSize="100" enabled="false" httpEnabled="true" inputStream="bulk/s3SetBlobLength" name="s3SetBlobLength"/>
      </extension>
  • nuxeo-core-storage-dbs-2023.22.13.jar /OSGI-INF/dbs-bulk-config.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <!-- Internal -->
        <action batchSize="25" bucketSize="100" inputStream="bulk/updateReadAcls" name="updateReadAcls" sequentialScroll="true"/>
      </extension>
  • nuxeo-thumbnail-2023.22.13.jar /OSGI-INF/thumbnail-bulk-contrib.xml
    <extension point="actions" target="org.nuxeo.ecm.core.bulk">
        <action batchSize="1" bucketSize="25" httpEnabled="false" inputStream="bulk/recomputeThumbnails" name="recomputeThumbnails"/>
      </extension>